package com.cjl.learn.importor;

import com.cjl.learn.bean.Fish;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * Created by Enzo Cotter on 2019-07-21.
 */
public class MyImportSeletor implements ImportSelector {

    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        return new String[]{ Fish.class.getName() };
    }
}
